import request from '@/utils/request'

const prefix = '/file'

export function uploadFileService(data = {}) {
  console.log(data);
  return request({
    url: `${prefix}/upload`,
    method: 'post',
    data
  })
}